package com.yekaile.carsystem.controller.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.yekaile.carsystem.entity.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Transient;

import java.util.Date;

/**
 * @author yekaile
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class LoginVO {
    private User user;
    @Transient
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date loginTime;


}
